<div class="ModalContainer" id="DeleteBoard">
    <div class="modal thin">
        <p style="font-size: 18px; font-weight: bold;">确定要删除这个画板吗？删除后这个画板内的所有采集都会被删除</p>
        <div style="text-align: right;">
            <button onclick="Modal.close('DeleteBoard');" class="Button WhiteButton Button18">取消</button>&nbsp;&nbsp;&nbsp;
            <button onclick="EditBoard.deleteBoard();" class="SubmitButton Button RedButton Button18">删除画板</button>
        </div>
    </div>
    <div class="overlay">
    </div>
</div>
<div class="FixedContainer">
    <% form_tag "", :id => "BoardEdit", :class => "Form StaticForm" do -%>
    <div class="ButtonHeading">
        <button id="delete_confirm" class="Button WhiteButton Button18" type="button" onclick="Modal.show('DeleteBoard');">删除画板</button>
        <h3>编辑画板 / <%= link_to @board.name, {:controller => :board, :action => :item, :id => @board.id}%></h3>
    </div>
    <ul>
        <li>
            <div class="Left">
                <label for="id_name">标题</label>
            </div>
            <div class="Right">
                <%= text_field :board, :name %>
            </div>
        </li>
        <li>
            <div class="Left">
                <label for="id_description">描述</label>
            </div>
            <div class="Right">
                <%= text_area :board, :description, :cols => "54", :rows => "3" %>
            </div>
        </li>
        <li>
            <div class="Left">
                <label for="id_description">分类</label>
            </div>
            <div class="Right">
                <%= select :board, :category_id, Category.options_for_select%>
            </div>
        </li>
    </ul>
	<div class="Submit">
        <button class="Button RedButton Button24 editpage_submit" type="submit">保存设置</button>
    </div>
    <% end %>
</div>
